package com.duleme.service;

import com.duleme.entity.Book;
import com.duleme.entity.ShoppingCart;

import java.util.List;

public interface CartService {
    Boolean addBook2Cart(int userID, Book book,int count);
    Boolean deleteBookFCart(int userID, Book book);
    ShoppingCart getBookCart(int userID);
    Boolean placeOrder(int userID,List<Book> list,int deliveryID);
}
